package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ChargeModelChargeMsg
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargeModelChargeMsg0x39 {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    // 充电枪数量
    public static String chargeGunNum;

    // 充电类型
    public static String chargeType;

    // 累计充电电能
    public static String cumulativeChargeKwh;

    // 累计充电电量
    public static String cumulativeChargeAh;

    // 累计充电时长
    public static String cumulativeChargeTime;

    // 充电起始SOC
    public static String chargeStartSOC;

    // 当前SOC
    public static String currentSOC;

    // 电表度数
    public static String ammeterDegrees;

    @Value("${message.chargeModelChargeMsg.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargeModelChargeMsg0x39.versionDomain = versionDomain;
    }

    @Value("${message.chargeModelChargeMsg.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargeModelChargeMsg0x39.serialNumberDomain = serialNumberDomain;
    }
    @Value("${message.chargeModelChargeMsg.command-code}")
    public void setCommandCode(String commandCode) {
        ChargeModelChargeMsg0x39.commandCode = commandCode;
    }

    @Value("${message.chargeModelChargeMsg.user-id}")
    public void setUserId(String userId) {
        ChargeModelChargeMsg0x39.userId = userId;
    }

    @Value("${message.chargeModelChargeMsg.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargeModelChargeMsg0x39.instructionsNumber = instructionsNumber;
    }
    @Value("${message.chargeModelChargeMsg.charge-gun-num}")
    public void setChargeGunNum(String chargeGunNum) {
        ChargeModelChargeMsg0x39.chargeGunNum = chargeGunNum;
    }

    @Value("${message.chargeModelChargeMsg.charge-type}")
    public void setChargeType(String chargeType) {
        ChargeModelChargeMsg0x39.chargeType = chargeType;
    }

    @Value("${message.chargeModelChargeMsg.cumulative-charge-Kwh}")
    public void setCumulativeChargeKwh(String cumulativeChargeKwh) {
        ChargeModelChargeMsg0x39.cumulativeChargeKwh = cumulativeChargeKwh;
    }

    @Value("${message.chargeModelChargeMsg.cumulative-charge-ah}")
    public void setCumulativeChargeAh(String cumulativeChargeAh) {
        ChargeModelChargeMsg0x39.cumulativeChargeAh = cumulativeChargeAh;
    }

    @Value("${message.chargeModelChargeMsg.cumulative-charge-time}")
    public void setCumulativeChargeTime(String cumulativeChargeTime) {
        ChargeModelChargeMsg0x39.cumulativeChargeTime = cumulativeChargeTime;
    }

    @Value("${message.chargeModelChargeMsg.charge-start-SOC}")
    public void setChargeStartSOC(String chargeStartSOC) {
        ChargeModelChargeMsg0x39.chargeStartSOC = chargeStartSOC;
    }

    @Value("${message.chargeModelChargeMsg.current-SOC}")
    public void setCurrentSOC(String currentSOC) {
        ChargeModelChargeMsg0x39.currentSOC = currentSOC;
    }

    @Value("${message.chargeModelChargeMsg.ammeter-degrees}")
    public void setAmmeterDegrees(String ammeterDegrees) {
        ChargeModelChargeMsg0x39.ammeterDegrees = ammeterDegrees;
    }
}
